﻿<%@ Page Title="" Language="C#" MasterPageFile="~/kcadastro.Master" AutoEventWireup="true"
    CodeBehind="billing_list.aspx.cs" Inherits="Kcadastro.adm.billing_list" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <!-- ===== Sidebar Close and Content Part start ====== -->
    <div id="content_wrap">
        <div class="title_bar">
            <h2 class="page_title">
                Administrativo</h2>
        </div>
        <div class="content_area">
            <h3 class="cont_title">
                Billing
            </h3>
            <asp:HyperLink ID="HyperLink1" NavigateUrl="billing_fechamento.aspx" class="cont_top_link"
                runat="server">Fechar Periodo</asp:HyperLink>
            <br class="clear" />
            <div class="form_wrap">
                <%--<form id="billing" class="billing">--%>
                <div class="control-group">
                    <label for="focusedInput" class="control-label">
                        Ano:</label>
                    <div class="controls">
                        <asp:DropDownList ID="dd_anos" runat="server">
                        </asp:DropDownList>
                    </div>
                </div>
                <div class="control-group">
                    <label for="focusedInput" class="control-label">
                        Mês:</label>
                    <div class="controls">
                        <asp:DropDownList ID="dd_mes" runat="server">
                            <asp:ListItem Text="Jan" Value="1"></asp:ListItem>
                            <asp:ListItem Text="Fev" Value="2"></asp:ListItem>
                            <asp:ListItem Text="Mar" Value="3"></asp:ListItem>
                            <asp:ListItem Text="Abr" Value="4"></asp:ListItem>
                            <asp:ListItem Text="Mai" Value="5"></asp:ListItem>
                            <asp:ListItem Text="Jun" Value="6"></asp:ListItem>
                            <asp:ListItem Text="Jul" Value="7"></asp:ListItem>
                            <asp:ListItem Text="Ago" Value="8"></asp:ListItem>
                            <asp:ListItem Text="Set" Value="9"></asp:ListItem>
                            <asp:ListItem Text="Out" Value="10"></asp:ListItem>
                            <asp:ListItem Text="Nov" Value="11"></asp:ListItem>
                            <asp:ListItem Text="Dez" Value="12"></asp:ListItem>
                        </asp:DropDownList>
                    </div>
                </div>
                <div class="control-group">
                    <label for="focusedInput" class="control-label">
                    </label>
                    <div class="controls">
                        <asp:Button ID="bt_carregar" runat="server" Text="Carregar" CssClass="btn btn-primary"
                            OnClick="bt_carregar_Click" />
                    </div>
                </div>
                <%--</form>--%>
                <asp:GridView ID="gv_lista" DataKeyNames="PKBILL" runat="server" OnRowCommand="gv_lista_RowCommand"
                    AutoGenerateColumns="false" AllowPaging="false" PageSize="10" CssClass="tableMain"
                    AlternatingRowStyle-CssClass="altr_raw" HeaderStyle-CssClass="title_raw" Width="100%">
                    <Columns>
                        <asp:BoundField DataField="PKBILL" HeaderText="ID" />
                        <asp:BoundField DataField="EMP" HeaderText="EMPRESA" />
                        <asp:BoundField DataField="DTFECH" HeaderText="Período" DataFormatString="{0:MM/yyyy}" />
                        <asp:BoundField DataField="VALOR" HeaderText="VALOR" />
                        <asp:ButtonField CommandName="visualizar" ControlStyle-CssClass="view" />
                    </Columns>
                </asp:GridView>
            </div>
        </div>
        <!-- close content_area -->
    </div>
</asp:Content>
